package es.ats.codington.festival.interfaces.services;

import java.util.ArrayList;

import es.ats.codington.festival.domain.Event;

/**
 * The Interface IEventService.
 */
public interface IEventService {
	
	
	
	boolean registerInEvent(int idVisitor, int idEvent) throws Exception;
	ArrayList<Event> obtainAllEvent() throws Exception;
	int deleteEvent(int idEvent)throws Exception;
	Event updateSelectEvent(int idEvent) throws Exception;
	int updateEvent(Event event)throws Exception;
	
	
	/**
	 * Show event.
	 *
	 * @param event the event
	 */
	public void ShowEvent(Event event);	
	
	/**
	 * Insert event.
	 *
	 * @param insertevent the insertevent
	 * @return the int
	 * @throws Exception the exception
	 */
	public int insertEvent(Event insertevent) throws Exception;
	
	
	/**
	 * Search eventby id.
	 *
	 * @param idEvent the id event
	 * @return the event
	 */
	public Event searchEventbyID(int idEvent);
	

	}

